package com.populatton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author shmily
 * @since 2019-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PlanProcreateInfo对象", description="")
public class PlanProcreateInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "个人信息id")
    private Integer personalId;

    @ApiModelProperty(value = "夫妻同行 0:否 1:是")
    private Boolean isTogether;

    @ApiModelProperty(value = "婚育证明 0:无 1:有")
    private Boolean isMarry;

    @ApiModelProperty(value = "是否验证 0:否 1:是")
    private Boolean isTest;

    @ApiModelProperty(value = "婚育证编号")
    private String marryCode;

    @ApiModelProperty(value = "男孩数")
    private Integer boyNum;

    @ApiModelProperty(value = "女孩数")
    private Integer girlNum;

    @ApiModelProperty(value = "政策内  0:2孩  1:3孩")
    private Boolean policyIn;

    @ApiModelProperty(value = "政策外  0:2孩  1:3孩")
    private Boolean policyOut;

    @ApiModelProperty(value = "独生子女证  0:无  1:有")
    private Boolean isOne;

    @ApiModelProperty(value = "社会抚养费征收  0:未缴  1:已缴")
    private Boolean isPay;

    @ApiModelProperty(value = "怀孕避孕情况id")
    private Integer pregnancyId;

    @ApiModelProperty(value = "措施时间")
    private LocalDateTime measureTime;

    @ApiModelProperty(value = "当年生育子女  0:男  1:女")
    private Boolean isSex;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthTime;

    @ApiModelProperty(value = "政策外  0:外  1:内")
    private Boolean isPolicy;


}
